package com.zretc.personcentre.service;


import com.zretc.api.pojo.UserInfo;
import com.zretc.common.entity.RespResult;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

@Service
public interface PersonCentreService {

     RespResult<UserInfo> ShowPersonMessage() ;
     RespResult<String> UpdatePersonMessage(UserInfo userInfo, MultipartFile file);
     Map<String, Object> ShowParticipateActivity(Integer pageNum, Integer pageSize);
     Map<String, Object> ShowPublishedBlog(Integer pageNum, Integer pageSize);
     Map<String, Object> ShowApplidRecommend(Integer pageNum, Integer pageSize);
     Map<String, Object> ShowRecommend(Integer pageNum, Integer pageSize);

     RespResult<String> DeleteRecommend(Integer id);
     Map<String, Object> ShowPoints(Integer pageNum, Integer pageSize);

     RespResult upload(MultipartFile file);

     RespResult download();

     RespResult downloadApplication(Integer applicationId);
}
